<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html> <!--<![endif]-->
<style type="text/css"> 
   div {
    cursor:pointer;
   }
   .aside-cList li .list-show {
   	left:218px!important;
   }
   .aside-cList li>div:hover{
   width:218px!important;
   }
	.aside-cList li>div:hover>a{
	    width: 155px!important;
	}
</style>
<!-- head -->
<#include "../common/assignparam.ftl"  />
<@header deep="2"/> 

<body class="body">

<!-- 头部 -->
<#assign currentChannel="resource"/>
<#include "../common/header.ftl"  />
<div id="content-container" class="container resourceContent mra_t_15">
	<div id="breadChippingBox">
                        <!-- 此处是面包屑导航模板 -->  
    </div> 
	<div id="myNav" class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix-top col-md-3 col-sm-3" style="padding-right:50px">
		<div class="article-list-main" style="padding-right:0 !important;">
            <div id="aside" class="f_l">
				<div class="aside-allCategory">
				    <div class="hd" style="cursor: pointer;">
				        <h2>&nbsp;&nbsp;<a><i class="glyphicon glyphicon-facetime-video"></i>资料库</a></h2>
				    </div>
				    <div class="bd">
				          <!-- 此处插入侧边栏课程库模板  -->
					</div>        
				      </div>
				    </div>              
				 </div>
			</div>
	<div class="col-md-9">
		<div class="row">          
			<div class="center-title centre-title-1 col-md-12">
                <span id="curricula"  class="active">
                    <a class="allCourse" id="allCourse">全部资料</a>
                </span>
				 <ul>
				 <li id="newEst"><a>最新</a></li>
				 <li id="hotTest"><a>最热</a></li>
				 </ul>
			</div>					
				<section class="course-list-section downLoadList">
	            <!-- 此处是内容区域模板 -->
	          	</section>
	          	<nav class="paging"></nav>
		</div>
	</div>
</div>
<!-- 列表标题的模板 -->
<script type="text/template" id="type-resource">
 <div class="label_box clearFloat col-md-12">
        <b>分类</b>
        <li><a  class="ect all">全部</a></li>
        <div class="weikeTag">
            <% _.each(classifyList,function(i){%>
            <li ><a class="default" typeId="<%=i.classifyId%>"><%=i.classifyName%></a></li> 
            <%})%>           
        </div>
        <a href="#" class="other">更多<i class="glyphicon glyphicon-menu-down"></i></a>
    </div>
           
            <div class="heat_box clearFloat col-md-12">
                <b>推荐</b>
                <li><a class="ect allLoad">全部</a></li>
                <div class="recommendation">
                <li><a typeId="hot"  class="default">最热</a></li>
                <li><a typeId="laster"  class="default">最新</a></li>
                </div>
            </div>
</script>
<!-- 下载列表的模板 -->
<script type="text/template" id="downLoad-resource">
    <%_.each(resourceList,function(i){%>
     <div class="col-lg-4 col-md-6 col-xs-6 singlePadding" >
        <div class="material">
          <i class="<%=i.typeClass%>"></i>
          <span <%if(i.resourceType == 1){%>onclick="window.open('${contextPath}/portal/resource/toFlash#<%=i.resourceId%>');
            window.event.returnValue=false;"<%}else if(i.resourceType == 3){%>
            onclick="window.open('${contextPath}/portal/resource/toDocument#<%=i.resourceId%>,<%=i.typeClass%>');
            window.event.returnValue=false;"
            <%}%> title="<%=i.resourceTitle%>"
            ><%=i.title%></span>
          <dl>
            <dt><%=i.resourceFormat%></dt>
            <dd><%=i.fileSize%></dd>
             <dd onclick="window.location.href='${contextPath}/<%=i.href%>';
            window.event.returnValue=false;"><a><i class="glyphicon glyphicon-cloud-download"></i>立即下载</a></dd>
          </dl>
        </div>
      </div>
     <%})%> 
</script>

<!-- 分类 -->
<script type="text/template" id="courseSliderTpl">
      <ul class="aside-cList" style="width:auto;">
      <% _.each(classifyList,function(item){%>
            <li> 
              <div class="courseAsideList">
                <a title="<%=item.classifyName%>" class="Taxonomy <%if(item.selected){%>active<%}%>" classifyId=<%=item.classifyId%>><%=item.classifyNameNew%>
                <i class="glyphicon glyphicon-menu-right"></i>
                </a>     
                  <div class="list-show">
                    <div class="list-showLayer"> 
                     <%_.each(item.children,function(second){%>                           
					  <dl>
						<dt><a class="Taxonomy <%if(second.selected){%>active<%}%>"  classifyId=<%=second.classifyId%>><%=second.classifyName%></a></dt>
						 <%_.each(second.children,function(three){%>
						<dd class="cf">
						  <a class="Taxonomy <%if(three.selected){%>active<%}%>"  classifyId=<%=three.classifyId%>><%=three.classifyName%></a>
						</dd>
						<%})%> 
					  </dl>
					  <%})%>		                       
                    </div>
                  </div>        
               </div>
          </li>	
       <%})%>					           
     </ul>
</script>

<!-- 面包屑导航模板 -->
<script type="text/template" id="crumbsNav">
    <%if(data.length >= 1){%>
	<ol class="breadcrumb breadcrumb-o" id="breadChipping">
    <li ><a id="crumbsNavCourse"  class="allCourse">全部资料</a></li>
     <%_.each(data,function(item,i){%>
      <li><%if(i < (data.length-1)){%><a class="Taxonomy" classifyid="<%=item.classifyId%>"><%=item.classifyName%></a><%}else{%><%=item.classifyName%> <%}%></li>
    <% }) %>
    </ol>
    <%} else{%>
     <div id="clearWall"></div>
     <%}%>  
</script>
<!--底部-->

<@portalFooter deep="2"/>
<!-- 侧边栏快捷操作 -->

<#include "../common/learningCenterSlider.ftl"  />   
<div id="login-modal" class="modal" data-url="/login/ajax"></div>
<div id="modal" class="modal"></div>
<script type="text/javascript" src="${contextPath}/common/klxlearning/underscore-1.8.3-min.js"></script>
<script type="text/javascript" src="${contextPath}/common/klxlearning/menuResource.js"></script>
</body>
</html>